#ifndef _IDENTIFIER_HPP
#define _IDENTIFIER_HPP


#include <string>
#include "Expression.hpp"
#include "Token.hpp"

namespace ast {

	class Identifier : public Expression {
	public:

		Identifier(TOKEN token, string value) {
			_token = token;
			_value = value;
		}

		virtual void ExpressionNode() override {}

		virtual string tokenLiteral() override {
			return _token._literal;
		}

		virtual string String() override {
			return _value;
		}

	public:
		TOKEN _token;
		string _value;
	};
}

#endif // !_IDENTIFIER_HPP
